*{
    margin: 0;
    padding: 0;
}
ul li{
    list-style: none;
}
img{
    display: block;
    width: 100%;
    height: 100%;
}
input{
    outline: none;
    border: none;
}
svg{
    width: 100%;
    height: 100%;
}
.auto-img{
    width: 100%;
    height: 100%;
}
.img-auto{
    width: 100%;
    height: 100%;
}
//模拟盒子
.box{
    width: 248px;
    height: 472px;
    margin: 0 auto;
}
.bilibili-ranking{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    color: #18191c;
    .bilibili-ranking-head{
        width: 100%;
        height: 34px;
        margin-bottom: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        >div{
            &:nth-child(1){
                cursor: pointer;
                transition: color .3s;
                font-size: 24px;
                line-height: 34px;
                &:hover{
                    color: #00aeec;
                }
            }
            &:nth-child(2){
                width: 64px;
                height: 34px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 8px 12px;
                font-size: 13px;
                box-sizing: border-box;
                >div{
                    display: block;
                    width: 12px;
                    height: 12px;
                    font-size: 0;
                    line-height: 0;
                }
                &:hover{
                    background-color: #e3e5e7;
                }
            }
        }
    }
    .bilibili-ranking-content{
        width: 100%;
        height: calc(100% - 46px);
        border: 1px solid #f1f2f3;
        border-radius: 6px;
        background-color: #f6f7f8;
        .bilibili-ranking-content-item{
            width: 100%;
            height: 48px;
            display: flex;
            align-items: center;
            box-sizing: border-box;
            padding: 15px 8px;
            cursor: pointer;
            >div{
                margin-right: 6px;
                &:nth-child(1){
                    font-style: italic;
                    width: 20px;
                    height: 20px;
                    color: #c9ccd0;
                    font-weight: 600;
                    font-size: 14px;
                    line-height: 20px;
                    text-align: center;
                }
                &:nth-child(2){
                    display: none;
                    width: 90px;
                    height: 56px;
                    border-radius: 4px;
                    overflow: hidden;
                }
                &:nth-child(3){
                    flex-grow: 1;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    line-height: 20px;
                    font-size: 14px;
                    &:hover{
                        color: #00aeec;
                    }
                }
            }
            &:nth-child(1){
                height: 86px;
                >div{
                    &:nth-child(1){
                        color: #ff473d;
                    }
                    &:nth-child(2){
                        display: block;
                    }
                    &:nth-child(3){
                        height: 100%;
                        align-self: flex-start;
                        display: -webkit-box;
                        -webkit-box-orient: vertical;
                        -webkit-line-clamp: 3;
                    }
                }
            }
            &:nth-child(2){
                >div{
                    &:nth-child(1){
                        color: #ff6a29;
                    }
                }
            }
            &:nth-child(3){
                >div{
                    &:nth-child(1){
                        color: #ff9214;
                    }
                }
            }
            &:nth-child(2n-1){
                background-color: #ffffff;
            }
        }
    }
}